package com.czl.elm.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zuoleiChen
 * @since 2021-05-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Menu对象", description="")
public class Menu implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "菜单id")
    @TableId(value = "menuid", type = IdType.AUTO)
    private Integer menuid;

    @ApiModelProperty(value = "菜单icon")
    private String logUrl;

    @ApiModelProperty(value = "菜单路径")
    private String path;

    @ApiModelProperty(value = "菜单名")
    private String name;

    @ApiModelProperty(value = "父菜单")
    private Integer parentid;

    @ApiModelProperty(value = "菜单状态")
    private Integer enable;

    @ApiModelProperty(value = "使用者身份")
    private String identity;

    @ApiModelProperty(value = "1需要登录 0不需要登录")
    private Integer tag;


}
